<extend name="Public/base" />
<block name="body">
    <!-- 标题栏 -->
    <div class="main-title">
        <h2>其他配置</h2>
    </div>

    <!-- 运费设置 -->
    <div class="form-item">
        <span class="item_name" style="margin-left: -48px">商品ID：</span>
        <input class="textbox_296" placeholder="" type="text" style="width:200px;margin-left: 15px">
    </div>
    <div class="form-item">
        <span class="item_name" style="margin-left: -48px">商品名称：</span>
        <input class="textbox_296" placeholder="" type="text" style="width:200px;margin-left: 15px">
    </div>
    <div class="form-item">
        <span class="item_name" style="margin-left: -48px">快递公司：</span>
        <select style="margin-left: 15px" class="selection_1">
            <option>顺丰</option>
            <option>深通</option>
            <option>圆通</option>
            <option>韵达</option>
            <option>EMS</option>
            <option>HTL</option>
        </select>
    </div>
    <div class="freight">
        <ul>
            <li> <label class="single_selection"><input name="name" type="radio">包运费</label></li>
            <li>
                <label class="single_selection"><input name="name" type="radio">不包运费</label>
                <span>订单不满</span>
                <input type="text" placeholder="">
                <span>元，收运费</span>
                <input type="text" placeholder="">
                <span>元</span>
            </li>
        </ul>
    </div>
    <div class="freight-submit">
        <button class="btn submit-btn ajax-post" id="submit" type="submit" target-form="form-horizontal">确 认</button>
        <button class="btn btn-return" onclick="javascript:history.back(-1);return false;">返 回</button>
    </div>
    <!-- 数据列表 -->

    <div class="page">
        {$_page}
    </div>

</block>

<block name="script">
    <script type="text/javascript" charset="utf-8">
        //搜索功能
        $("#search").click(function(){
            var url = $(this).attr('url');
            var query  = $('.search-form').find('input').serialize();
            query = query.replace(/(&|^)(\w*?\d*?\-*?_*?)*?=?((?=&)|(?=$))/g,'');
            query = query.replace(/^&/g,'');
            if( url.indexOf('?')>0 ){
                url += '&' + query;
            }else{
                url += '?' + query;
            }
            window.location.href = url;
        });
        //回车搜索
        $(".search-input").keyup(function(e){
            if(e.keyCode === 13){
                $("#search").click();
                return false;
            }
        });
    </script>
    <script type="text/javascript" charset="utf-8">
        onload = function ()
        {
            setInterval (function ()
            {
                var date = new Date ();
                txt.value = date.toLocaleDateString();
            });

        }

    </script>
</block>